package com.spic.business.train.trainUserAnswer.service;

import java.util.List;
import com.spic.business.train.trainUserAnswer.domain.TrainUserAnswer;

/**
 * 用户考试答案Service接口
 * 
 * @author spic
 * @date 2021-10-15
 */
public interface ITrainUserAnswerService 
{
    /**
     * 查询用户考试答案
     * 
     * @param id 用户考试答案主键
     * @return 用户考试答案
     */
    public TrainUserAnswer selectTrainUserAnswerById(String id);

    /**
     * 查询用户考试答案列表
     * 
     * @param trainUserAnswer 用户考试答案
     * @return 用户考试答案集合
     */
    public List<TrainUserAnswer> selectTrainUserAnswerList(TrainUserAnswer trainUserAnswer);

    /**
     * 新增用户考试答案
     * 
     * @param trainUserAnswer 用户考试答案
     * @return 结果
     */
    public int insertTrainUserAnswer(TrainUserAnswer trainUserAnswer);

    /**
     * 修改用户考试答案
     * 
     * @param trainUserAnswer 用户考试答案
     * @return 结果
     */
    public int updateTrainUserAnswer(TrainUserAnswer trainUserAnswer);

    /**
     * 批量删除用户考试答案
     * 
     * @param ids 需要删除的用户考试答案主键集合
     * @return 结果
     */
    public int deleteTrainUserAnswerByIds(String[] ids);

    /**
     * 删除用户考试答案信息
     * 
     * @param id 用户考试答案主键
     * @return 结果
     */
    public int deleteTrainUserAnswerById(String id);
}
